//******************************************************************************************************//

var Player_object_ads_url = "http://shineads.net/shads/ad_vid.aspx?pubid=vishnushreeji";//"http://adf.ly/Hq2Tc";
var Player_object_ads_img = "http://shreejiplayar.googlecode.com/svn/images/player.jpg";
//<a href="http://shineads.net/shads/ad_vid.aspx?pubid=vishnushreeji "> <img height=410 width=580 src="http://publishers.shineads.net/user/img/player.jpg"/></a>

if (typeof Shreeji_vidto != "undefined") {
     if (Shreeji_vidto == "shreeji") {   
     document.write('<a href="' + Player_object_ads_url + '" target="_blank"><img border="0" height="350" src="' + Player_object_ads_img + '" width="590" /></a>');
   } else {

     vidto = "http://vidto.me/embed-"+ Shreeji_vidto +"-590x332.html";
     document.write('<iframe width="590" height="332" src="'+ vidto +'" frameborder="0" allowfullscreen></iframe>');
   }
   
};

if (typeof Shreeji_dailymotion != "undefined") {
    if (Shreeji_dailymotion == "shreeji") {

        document.write('<a href="' + Player_object_ads_url + '" target="_blank"><img border="0" height="350" src="' + Player_object_ads_img + '" width="590" /></a>');
    
    } else {
         dailymotion = Shreeji_dailymotion;
//        dailymotion = "http://www.dailymotion.com/swf/" + dailymotion + "?autoplay=1&logo=1&hideInfos=1&start=0&syndication=113193&foreground=&highlight=&background=";
        //dailymotion = "http://www.dailymotion.com/embed/video/" + dailymotion + "?autoplay=1&logo=1&hideInfos=1&start=0&syndication=113193&foreground=&highlight=&background=";
        dailymotion =  "http://www.dailymotion.com/embed/video/" + dailymotion ;
        
        document.write('<iframe frameborder="0" width="590" height="355" src="' + dailymotion + '?syndication=113193&hideInfos=1&logo=1"></iframe>');


        //document.write('<iframe frameborder="0" width="590" height="355" src="' + dailymotion + ' "></iframe>');


//        var vido_dailymotion = ('<object width="590" height="355">' +
//        '<param name="movie" value=' + dailymotion + ' ></param>' +
//        '<param name="allowfullscreen" value="true">' +
//        '<param name="allownetworking" value="internal">' +
//        '<param name="wmode" value="transparent"></param>' +
//        '<param name="allowScriptAccess" value="always"></param>' +
//        '<embed src=" ' + dailymotion + ' type="application/x-shockwave-flash" width="590" height="355" allowfullscreen="true" allownetworking="internal" />' +
//        ' </object> ');
//        document.write(vido_dailymotion);
     }
};

//******************************************************************************************************//

if (typeof Shreeji_site != "undefined") {
    if (Shreeji_site == "shreeji") {

        document.write('<a href="' + Player_object_ads_url + '" target="_blank"><img border="0" height="350" src="' + Player_object_ads_img + '" width="590" /></a>');
 
    } else {
        videofile = Shreeji_site;
        videofile = "http://www.youtube.com/v/" + videofile;


        var vido = ('<object width="600" height="360">' +
    '<param name="movie" value="http://shreejiplayar.googlecode.com/svn/Player/player-licensed-5-10.swf" >' +
    '<param name="allowfullscreen" value="true">' +
    '<param name="allowscriptaccess" value="always">' +
    '<param name="bgcolor" value="#000000">' +
    '<param name="wmode" value="opaque">' +
    '<param name="flashvars" value="file=' + videofile + '&skin=http://shreejiplayar.googlecode.com/svn/Player/glow.zip&stretching=exactfit" >' +
    '<embed src="http://shreejiplayar.googlecode.com/svn/Player/player-licensed-5-10.swf" width="600" height="360" allowfullscreen="true" allowscriptaccess="always" bgcolor="#000000" wmode="opaque" flashvars="file=' + videofile + '&skin=http://shreejiplayar.googlecode.com/svn/Player/glow.zip&stretching=exactfit" />' +
    ' </object> ');

        document.write(vido);
    }
};

//******************************************************************************************************//

if (i != 1) {
    var i = 0;
};
if (i == 0) {
    var add = ('<center>' +
        '    <div id="message0" style="display:inherit; position:absolute; margin-left:150px; margin-top:-320px; width:300px; height:265px; z-index:0;">' +
        '    <div style="margin-top:0%" align="center"></div>' +
        '        <div style="position:absolute; top:0px; left:-10px; height:280px; width:336px" id="floatLayer0">' +
        '        <script language="javascript" type="text/javascript" src="http://shreeji-ads.googlecode.com/svn/All_Ads-300-250.js"></script>' +
        '        <div style="position: absolute; left:285px; top: 2px; width: 51px; height: 25px;"><a href="http://www.fullmovie2in.com/" target="_blank"><span onMouseUp = document.getElementById("floatLayer0").style.display="none" ><img src="http://shreejiplayar.googlecode.com/svn/images/close.png"/></span></a></div>' +
        '        <script language="javascript" type="text/javascript" src="http://shreejiplayar.googlecode.com/svn/timer.js"></script>' +
        '        </div>' +
        '    </div>' +
        '</center>');
    document.write(add);
    i = 1;
};


//******************************************************************************************************//
